// 
const {DataTypes, db } = require("../db");
db.define('tests', {
id: {type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true,comment:'表自增ID'},
name1:{type: DataTypes.STRING(255),comment:''}, 
name2:{type: DataTypes.STRING(255),comment:''}, 
name3:{type: DataTypes.STRING(100),comment:''}, 
name4:{type: DataTypes.STRING(255),comment:''}, 
n1:{type: DataTypes.INTEGER,comment:''}, 
n2:{type: DataTypes.FLOAT,comment:''}, 
n3:{type: DataTypes.DECIMAL(10, 2),comment:''}, 

}, {
    tableName: 'tests',
    timestamps: false,
    comment: ''
});